package com.jk.service;
import com.jk.bean.*;

import java.util.List;

public interface ShorService {

    List<String> getPermission(String userName);

    Staff getUser(String username);

    String queryUser(String username);

    Staff existsPhone(String num);

    Staff heiPhone(String phone_number);

    Staff queryStaff(Staff sd);

    void goRegister(Staff sd);

    SendPage queryRole(Page page);

    Role updaRole(String id);

    void delRole(String id);

    void addRole(Role role);

    SendPage queryPer(Page page);

    void delPer(String ids);

    Permission updaPer(String id);

    void addPer(Permission per);

    void delStaff(String id);
}
